{include file="layout/layout" /}
<body style="background-color: rgb(255, 255, 255); overflow: auto; cursor: default; -moz-user-select: inherit;">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
    <div class="fixed-bar">
        <div class="item-title">
            <div class="subject">
                <h3>会员汇款记录</h3>
                <h5>网站系统会员汇款索引与管理</h5>
            </div>
            <ul class="tab-base nc-row">
            	<li><a href="{:url('User/huika')}"><span>待转账列表</span></a></li>
            	<li><a class="current" href="{:url('User/huika',['state'=>'1'])}"><span>已转账列表</span></a></li>
            </ul>
        </div>
    </div>
    <!-- 操作说明 -->
    <div id="explanation" class="explanation" style="color: rgb(44, 188, 163); background-color: rgb(237, 251, 248); width: 99%; height: 100%;">
        <div id="checkZoom" class="title"><i class="fa fa-lightbulb-o"></i>
            <h4 title="提示相关设置操作时应注意的要点">操作提示</h4>
            <span title="收起提示" id="explanationZoom" style="display: block;"></span>
        </div>
        <ul>
			<li>支付宝，微信在线转账会接收到付款成功通知，自动完成转账，银行卡转账则需要手动确认完成</li>
			<li>支付宝，微信支付接口支持在线向用户付款完成转账，银行卡提现请通过网银在线转账或者其他方式处理</li>
			<li>手动完成转账是指通过银行打款或其他转款方式处理了该笔提现申请，手动这一步操作只是标示该申请提现流程已处理完</li>
        </ul>
    </div>
    <div class="flexigrid">
        <div class="mDiv">
            <div class="ftitle">
                <h3>会员汇款转账列表</h3>
                <h5>(共<span id="total">{$count}</span>条记录)</h5>
            </div>
            <div title="刷新数据" class="pReload"><i class="fa fa-refresh"></i></div>
            <form class="navbar-form form-inline" id="remittance-form" method="post" action="{:url('User/huika')}">
                <input name="create_time" id="create_time"  type="hidden">
                <div class="sDiv">
                    <!-- <div class="sDiv2" style="margin-right: 10px;">
                        <input size="30" id="start_time" value="2016-12-27" placeholder="起始时间" class="qsbox" type="text">
                        <input class="btn" value="起始时间" type="button">
                    </div> -->
                    <input type="hidden" name="state" value="1">
                    <div class="sDiv2" style="margin-right: 10px;">
                        <input size="30" id="end_time" name="end_time" placeholder="截止时间" class="qsbox" type="text">
                        <input class="btn" value="按转账时间后" type="button">
                    </div>
                    <div class="sDiv2">
                        <input size="30" placeholder="用户ID" name="userid" class="qsbox" type="text">
                        <input class="btn" value="搜索"  type="submit">
                    </div>
                </div>
            </form>
        </div>
        <div class="hDiv">
            <div class="hDivBox">
                <table cellspacing="0" cellpadding="0">
                    <thead>
                    <tr>
                        <th class="sign" axis="col0">
                           <div style="text-align: center; width: 50px;" class="">
                                <i class="fa fa-hand-o-down"></i>
                            </div>
                        </th>
                        <th axis="col3" class="" align="center">
                            <div style="text-align: center; width: 50px;" class="">记录ID</div>
                        </th>
                        <th axis="col5" class="" align="center">
                            <div style="text-align: center; width: 100px;" class="">用户昵称</div>
                        </th>
                        <th axis="col6" class="" align="center">
                            <div style="text-align: center; width: 150px;" class="">银行机构名称</div>
                        </th>
                        <th axis="col6" class="" align="center">
                            <div style="text-align: center; width: 100px;" class="">用户ID</div>
                        </th>
                        <!-- <th axis="col6" class="" align="center">
                            <div style="text-align: center; width: 100px;" class="">账户开户名</div>
                        </th> -->
                        <th axis="col6" class="" align="center">
                            <div style="text-align: center; width: 80px;" class="">申请金额</div>
                        </th>
                        <th axis="col6" class="" align="center">
                            <div style="text-align: center; width: 50px;" class="">状态</div>
                        </th>
                        <th axis="col6" class="" align="center">
                            <div style="text-align: center; width: 150px;" class="">
                            	转账时间
                            </div>
                        </th>
                        <th abbr="article_time" axis="col6" class="" align="center">
                            <div style="text-align: center; width: 200px;" class="">备注</div>
                        </th>
                        <th style="width:100%" axis="col7">
                            <div></div>
                        </th>
                    </tr>
                    </thead>
                </table>
            </div>
        </div>
        <form class="form-inline" id="transfer-form" method="get" action="/index.php/admin/user/transfer">
        <div class="tDiv">
            <div class="tDiv2">
                <div class="fbutton"> <a href="{:url('User/h_excel',['static'=>'1'])}" >
                    <div class="add" title="导出excel">
                        <span><i class="fa fa-plus"></i>导出excel</span>
                    </div>
                </a> 
            </div>
            </div>
            <div style="clear:both"></div>
        </div>
        <input name="atype" id="atype" value="hand" type="hidden">
        <div class="bDiv" style="height: auto;">
        	<div id="flexigrid" cellpadding="0" cellspacing="0" border="0">
			    <table>
			        <tbody>
                    {foreach $lab as $key=>$v}
			        	<tr>
                            <td class="" align="center">
                                <div style="text-align: center; width: 20px;">
                                </div>
                            </td>
			                <td class="" align="center">
			                    <div style="text-align: center; width: 50px;">
			                        <a class="open" href="">
			                            {$v.re_id}<i class="fa fa-external-link " title="新窗口打开"></i>
			                        </a>
			                    </div>
			                </td>
			                <td class="" align="center">
			                    <div style="text-align: center; width: 100px;">
			                        <a class="open" href="{:url('User/with',['uid'=>$v.re_uid])}" target="blank">
			                            {$v.re_uname}<i class="fa fa-external-link " title="新窗口打开"></i>
			                        </a>
			                    </div>
			                </td>
			                <td class="" align="center">
			                    <div style="text-align: center; width: 150px;">{$v.re_company==''?'暂无':$v.re_company}</div>
			                </td>
			                <td class="" align="center">
			                    <div style="text-align: center; width: 100px;">{$v.re_uid}</div>
			                </td>
			                <!-- <td class="" align="center">
			                    <div style="text-align: center; width: 100px;"></div>
			                </td> -->
			                <td class="" align="center">
			                    <div style="text-align: center; width: 80px;">{$v.re_cash/100}<span>元</span></div>
			                </td>
			                <td class="" align="center">
			                    <div style="text-align: center; width: 50px;">{$v.re_state}</div>
			                </td>
			                <td class="" align="center">
			                    <div style="text-align: center; width: 150px;">{$v.re_cashtime}</div>
			                </td>
			                <td class="" align="center">
			                    <div style="text-align: center; width: 200px;">{$v.re_mark}</div>
			                </td>
			                <td class="" style="width: 100%;" align="">
			                    <div>&nbsp;</div>
			                </td>
			            </tr>
                    {/foreach}
			        </tbody>
			    </table>
			</div>
        </div>
        </form>
        <!--分页位置-->
        <div><center>{$lab->render()|raw}</center></div>
</div>
<script>
    $(document).ready(function(){
    　　getDate('#start_time');
    　　getDate('#end_time');
    });
</script>
</body>
</html>